﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZLWeb.WebApiEntityBase;

namespace ZL.Web.Utility.SMSS
{
    public class SmsService: ServiceBase, ISmsService
    {
        public ResponseResultInfo SendMsg(SmssContent msgContent)
        {
            var url = $"{SmsServer}/ApiV1/CRMSmssForWinService/SMSS";
            var info = httpClient.HttpPost<SmssContent, ResponseResultInfo>(msgContent, url, Identity);
            return info;
        }
    }
}
